<template>
  <div class="top">
      <div>
        <el-row>
          <el-col :span="11" :offset="2" class="le">
            <h2>{{info.enName}}</h2>
            <h3>{{info.name}}</h3>
            <p>{{info.text}}</p>
            <h5>{{info.enText}}</h5>
          </el-col>
          <el-col :span="8" :offset="1">
            <div  class="riimg"><img :src="info.img" alt=""></div>
          </el-col>
        </el-row>
      </div>
    </div>
</template>

<script>
export default {
props:['info']
}
</script>

<style lang="less" scoped>
.top{
  width: 100%;
  height: 300px;
  padding: 50px 0;
  background-color: #312a6d;
  &>div{
    width: 1200px;
    height: 100%;
    margin:0 auto;
    background-color: #f2f7fb;
    border-radius: 20px;
    box-shadow: 10px 10px 2 5px 20px rgba(51, 51, 51, 0.253);
    .le{
      h2{
        font-size: 45px;
        color: rgba(120, 100, 100, 0.2);
        text-transform: uppercase;
        margin-top:40px;
      }
      h3{
        color: #555;
        margin-top:-40px;
        margin-bottom: 40px;
      }
      p{
        width: 80%;
        margin:0 auto;
        line-height: 1.5;
        text-align: left;
      }
      h5{
        width: 80%;
        margin:10px auto;
        font-size: 17px;
        font-weight: 400;
        color: #999;
         text-align: left;
      }
    }
    .riimg{
      height: 300px;
      &>img{
        height: 100%;
      }
    }
  }
}
</style>